/*
 * Created by JFormDesigner on Thu May 25 22:38:02 CST 2023
 */

package UI;

import java.awt.*;
import java.util.*;
import javax.swing.*;

/**
 * @author wxz
 */
public class Changeinfo extends JDialog {
    public Changeinfo( Frame owner) {

            super(owner);
            initComponents();

    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        ResourceBundle bundle = ResourceBundle.getBundle("Gui");
        desktopPane1 = new JDesktopPane();
        label1 = new JLabel();
        label2 = new JLabel();
        label3 = new JLabel();
        textField1 = new JTextField();
        textField2 = new JTextField();
        textField3 = new JTextField();
        button1 = new JButton();
        button2 = new JButton();

        //======== this ========
        setTitle(bundle.getString("changeinfo.this.title"));
        setPreferredSize(new Dimension(540, 400));
        var contentPane = getContentPane();
        contentPane.setLayout(new BorderLayout());

        //======== desktopPane1 ========
        {

            //---- label1 ----
            label1.setText(bundle.getString("changeinfo.label1.text"));
            label1.setFont(new Font("\u534e\u6587\u884c\u6977", Font.PLAIN, 19));
            desktopPane1.add(label1, JLayeredPane.DEFAULT_LAYER);
            label1.setBounds(70, 70, 95, 35);

            //---- label2 ----
            label2.setText(bundle.getString("changeinfo.label2.text"));
            label2.setFont(new Font("\u534e\u6587\u884c\u6977", Font.PLAIN, 19));
            desktopPane1.add(label2, JLayeredPane.DEFAULT_LAYER);
            label2.setBounds(75, 110, 105, 35);

            //---- label3 ----
            label3.setText(bundle.getString("changeinfo.label3.text"));
            label3.setFont(new Font("\u534e\u6587\u884c\u6977", Font.PLAIN, 19));
            desktopPane1.add(label3, JLayeredPane.DEFAULT_LAYER);
            label3.setBounds(75, 150, 105, 35);
            desktopPane1.add(textField1, JLayeredPane.DEFAULT_LAYER);
            textField1.setBounds(200, 65, 270, 35);
            desktopPane1.add(textField2, JLayeredPane.DEFAULT_LAYER);
            textField2.setBounds(200, 105, 270, 35);
            desktopPane1.add(textField3, JLayeredPane.DEFAULT_LAYER);
            textField3.setBounds(200, 145, 270, 35);

            //---- button1 ----
            button1.setText(bundle.getString("changeinfo.button1.text"));
            button1.setFont(new Font("\u534e\u6587\u884c\u6977", Font.PLAIN, 19));
            desktopPane1.add(button1, JLayeredPane.DEFAULT_LAYER);
            button1.setBounds(200, 215, 135, 35);

            //---- button2 ----
            button2.setText(bundle.getString("changeinfo.button2.text"));
            button2.setFont(new Font("\u534e\u6587\u884c\u6977", Font.PLAIN, 19));
            desktopPane1.add(button2, JLayeredPane.DEFAULT_LAYER);
            button2.setBounds(355, 215, 135, 35);
        }
        contentPane.add(desktopPane1, BorderLayout.CENTER);
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    private JDesktopPane desktopPane1;
    private JLabel label1;
    private JLabel label2;
    private JLabel label3;
    private JTextField textField1;
    private JTextField textField2;
    private JTextField textField3;
    private JButton button1;
    private JButton button2;
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}


